package ro.msg.office.ticketmanager.back.ifc;

import java.util.List;
import java.util.Set;

import javax.ejb.Local;

import ro.msg.office.entities.User;
import ro.msg.office.ticketmanager.DO.UserDO;

@Local
public interface UserManager {
	public void createUser(String username, String password, long usertype, 
						   String name, String departmentName);
	public List<User> getUsers();
	public UserDO check (UserDO userDO);
	public User findUserByNameAndPassword(String userName, String password);
	public UserDO mapUserToDO(User user);
	public UserDO findDOUserById(Long id);
}
